package com.luboyan.CBillbill.service.user.auth.impl;

import com.luboyan.CBillbill.mapper.user.auth.AuthRoleElementOperationMapper;
import com.luboyan.CBillbill.dao.user.auth.AuthRoleElementOperation;
import com.luboyan.CBillbill.service.user.auth.AuthRoleElementOperationService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Set;

@Service
public class AuthRoleElementOperationServiceImpl implements AuthRoleElementOperationService {

    @Autowired
    private AuthRoleElementOperationMapper authRoleElementOperationMapper;
    /**
     * 查询角色所对应的页面元素权限
     */
    @Override
    public List<AuthRoleElementOperation> getRoleElementOperationsByRoleIds(Set<Long> roleIdS) {
        return authRoleElementOperationMapper.getRoleElementOperationsByRoleIds(roleIdS);
    }
}
